<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>Pie Chart</title>
            </f:facet>
        </h:head>

        <h:body>
            <p:chart type="pie" model="#{graficosvista.graficoPie}" style="width:800px;height:500px" /> 
        </h:body>
    </f:view>
</html>